package com.southwind.mapper;

import com.southwind.entity.AdPlatform;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface AdPlatformMapper extends BaseMapper<AdPlatform> {

    @Select({"select title from sys_dept where id = #{id} "})
    public String getDeptNameById(Integer id);

    @Select("select title from ad_platform")
    List<String> selectName();

}
